<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=div, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 200px;
            height: 250px;
            background-color: #1f0303;
            transition: 5s;
        } 
        div:hover{
            width: 400px;
            background-color: #ec1c1c;

        }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>